import 'package:bxultimate/resources/assets.dart';
import 'package:flutter/material.dart';
import 'package:tdesign_flutter/tdesign_flutter.dart';
class MkEmpty extends StatefulWidget {
  const MkEmpty({super.key});

  @override
  State<MkEmpty> createState() => _MkEmptyState();
}

class _MkEmptyState extends State<MkEmpty> {
  @override
  Widget build(BuildContext context) {
    return TDEmpty(
      type: TDEmptyType.plain,
      emptyText: '暂无数据',
      image: Container(
        width: 200,
        height: 200,
        decoration: BoxDecoration(
            borderRadius: BorderRadius.circular(TDTheme.of(context).radiusDefault),
            image: const DecorationImage(image: AssetImage(Assets.commonEmpty))
        ),
      ),
    );
  }
}
